﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace EcoSystem
{
    public interface IDirResourceAppService : ICrudAppService<
        DirResourceDto,
        Guid,
        GetDirResourceInput,
        CreateOrUpdateDirResourceDto,
        CreateOrUpdateDirResourceDto>
    {
        /// <summary>
        /// 获取所有
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        public Task<List<DirResourceDto>> GetAllListAsync(GetDirResourceInput input);

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public Task<List<DirResourceDto>> GetTreeListAsync(string bucketName);
    }
}
